package com.car.account.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.account.dto.storesDimissionDto.SelectDimissionByStateDto;
import com.car.account.entity.StoresDimission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.account.param.storesDimissionParam.OverruleDimissionParam;
import com.car.account.param.storesDimissionParam.SelectDimissionParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface StoresDimissionService extends IService<StoresDimission> {

    void clerkDimissionApplication(Integer clerkId, String dimissionInfo) throws Exception;

    Page<SelectDimissionByStateDto> selectDimissionByState(SelectDimissionParam param) throws Exception;

    void passDimissionById(Integer clerkId, Integer dimissionId) throws Exception;

    void overruleDimissionById(OverruleDimissionParam param) throws Exception;
}
